package com.example.sunmiv1.entity;

import java.io.Serializable;

public class ScanGoodInfo implements Serializable {


    /**
     * status : 1
     * message : 查詢成功
     * data : {"id":"6189","merchant_id":"1","store_id":"1","warehouse_id":"392","goods_class_id":"514","goods_id":"2916","sku_id":"1673","goods_name":"測試","sku_name":"X,50g","sku_id_list":"3,10","goods_number":"36814","sku_goods_number":"36813-3","goods_code":"1321114452","sku_code":"1321114452-3","company":"kg","specifications":"","attribute_state":"2","pricing_method":"1","goods_brand_id":"0","goods_yieldly_id":"0","goods_num":100,"sku_num":"1.000","more_num":"2.000","less_num":"2.000","status":"0","cost_price":2,"add_time":"1606095007","loss_num":1}
     */

    private int status;
    private String message;
    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message == null ? "" : message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * id : 6189
         * merchant_id : 1
         * store_id : 1
         * warehouse_id : 392
         * goods_class_id : 514
         * goods_id : 2916
         * sku_id : 1673
         * goods_name : 測試
         * sku_name : X,50g
         * sku_id_list : 3,10
         * goods_number : 36814
         * sku_goods_number : 36813-3
         * goods_code : 1321114452
         * sku_code : 1321114452-3
         * company : kg
         * specifications :
         * attribute_state : 2
         * pricing_method : 1
         * goods_brand_id : 0
         * goods_yieldly_id : 0
         * goods_num : 100
         * sku_num : 1.000
         * more_num : 2.000
         * less_num : 2.000
         * status : 0
         * cost_price : 2
         * add_time : 1606095007
         * loss_num : 1
         */

        private String id;
        private String merchant_id;
        private String store_id;
        private String warehouse_id;
        private String goods_class_id;
        private String goods_id;
        private String sku_id;
        private String goods_name;
        private String sku_name;
        private String sku_id_list;
        private String goods_number;
        private String sku_goods_number;
        private String goods_code;
        private String sku_code;
        private String company;
        private String specifications;
        private String attribute_state;
        private String pricing_method;
        private String goods_brand_id;
        private String goods_yieldly_id;
        private double goods_num;
        private String sku_num;
        private String more_num;
        private String less_num;
        private String status;
        private double cost_price;
        private String add_time;
        private int loss_num;
        private int inventory_num;
        private String serial_number_state;


        private int purchase_num;
        private double purchase_price;
        private String quality_guarantee_period;
        private String build_date;
        private double retail_price;
        private double online_price;

        private double surplus_num;
        private String warehousing_num;
        private double retreat_num;
        private String subtotal;
        private String remarks;
        private String order_number;
        private int retreat_num_act;

        private int output_num;
        private double stock_price;

        public String getSerial_number_state() {
            return serial_number_state == null ? "" : serial_number_state;
        }

        public void setSerial_number_state(String serial_number_state) {
            this.serial_number_state = serial_number_state;
        }

        public double getStock_price() {
            return stock_price;
        }

        public void setStock_price(double stock_price) {
            this.stock_price = stock_price;
        }

        public int getOutput_num() {
            return output_num;
        }

        public void setOutput_num(int output_num) {
            this.output_num = output_num;
        }

        public int getRetreat_num_act() {
            return retreat_num_act;
        }

        public void setRetreat_num_act(int retreat_num_act) {
            this.retreat_num_act = retreat_num_act;
        }

        public String getOrder_number() {
            return order_number == null ? "" : order_number;
        }

        public void setOrder_number(String order_number) {
            this.order_number = order_number;
        }

        public String getRemarks() {
            return remarks == null ? "" : remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getSubtotal() {
            return subtotal == null ? "" : subtotal;
        }

        public void setSubtotal(String subtotal) {
            this.subtotal = subtotal;
        }

        public double getRetreat_num() {
            return retreat_num;
        }

        public void setRetreat_num(double retreat_num) {
            this.retreat_num = retreat_num;
        }

        public String getWarehousing_num() {
            return warehousing_num == null ? "" : warehousing_num;
        }

        public void setWarehousing_num(String warehousing_num) {
            this.warehousing_num = warehousing_num;
        }

        public double getSurplus_num() {
            return surplus_num;
        }

        public void setSurplus_num(double surplus_num) {
            this.surplus_num = surplus_num;
        }

        public int getPurchase_num() {
            return purchase_num;
        }

        public void setPurchase_num(int purchase_num) {
            this.purchase_num = purchase_num;
        }

        public double getPurchase_price() {
            return purchase_price;
        }

        public void setPurchase_price(double purchase_price) {
            this.purchase_price = purchase_price;
        }

        public String getQuality_guarantee_period() {
            return quality_guarantee_period == null ? "" : quality_guarantee_period;
        }

        public void setQuality_guarantee_period(String quality_guarantee_period) {
            this.quality_guarantee_period = quality_guarantee_period;
        }

        public String getBuild_date() {
            return build_date == null ? "" : build_date;
        }

        public void setBuild_date(String build_date) {
            this.build_date = build_date;
        }

        public double getRetail_price() {
            return retail_price;
        }

        public void setRetail_price(double retail_price) {
            this.retail_price = retail_price;
        }

        public double getOnline_price() {
            return online_price;
        }

        public void setOnline_price(double online_price) {
            this.online_price = online_price;
        }

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMerchant_id() {
            return merchant_id == null ? "" : merchant_id;
        }

        public void setMerchant_id(String merchant_id) {
            this.merchant_id = merchant_id;
        }

        public String getStore_id() {
            return store_id == null ? "" : store_id;
        }

        public void setStore_id(String store_id) {
            this.store_id = store_id;
        }

        public String getWarehouse_id() {
            return warehouse_id == null ? "" : warehouse_id;
        }

        public void setWarehouse_id(String warehouse_id) {
            this.warehouse_id = warehouse_id;
        }

        public String getGoods_class_id() {
            return goods_class_id == null ? "" : goods_class_id;
        }

        public void setGoods_class_id(String goods_class_id) {
            this.goods_class_id = goods_class_id;
        }

        public String getGoods_id() {
            return goods_id == null ? "" : goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getSku_id() {
            return sku_id == null ? "" : sku_id;
        }

        public void setSku_id(String sku_id) {
            this.sku_id = sku_id;
        }

        public String getGoods_name() {
            return goods_name == null ? "" : goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getSku_name() {
            return sku_name == null ? "" : sku_name;
        }

        public void setSku_name(String sku_name) {
            this.sku_name = sku_name;
        }

        public String getSku_id_list() {
            return sku_id_list == null ? "" : sku_id_list;
        }

        public void setSku_id_list(String sku_id_list) {
            this.sku_id_list = sku_id_list;
        }

        public String getGoods_number() {
            return goods_number == null ? "" : goods_number;
        }

        public void setGoods_number(String goods_number) {
            this.goods_number = goods_number;
        }

        public String getSku_goods_number() {
            return sku_goods_number == null ? "" : sku_goods_number;
        }

        public void setSku_goods_number(String sku_goods_number) {
            this.sku_goods_number = sku_goods_number;
        }

        public String getGoods_code() {
            return goods_code == null ? "" : goods_code;
        }

        public void setGoods_code(String goods_code) {
            this.goods_code = goods_code;
        }

        public String getSku_code() {
            return sku_code == null ? "" : sku_code;
        }

        public void setSku_code(String sku_code) {
            this.sku_code = sku_code;
        }

        public String getCompany() {
            return company == null ? "" : company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getSpecifications() {
            return specifications == null ? "" : specifications;
        }

        public void setSpecifications(String specifications) {
            this.specifications = specifications;
        }

        public String getAttribute_state() {
            return attribute_state == null ? "" : attribute_state;
        }

        public void setAttribute_state(String attribute_state) {
            this.attribute_state = attribute_state;
        }

        public String getPricing_method() {
            return pricing_method == null ? "" : pricing_method;
        }

        public void setPricing_method(String pricing_method) {
            this.pricing_method = pricing_method;
        }

        public String getGoods_brand_id() {
            return goods_brand_id == null ? "" : goods_brand_id;
        }

        public void setGoods_brand_id(String goods_brand_id) {
            this.goods_brand_id = goods_brand_id;
        }

        public String getGoods_yieldly_id() {
            return goods_yieldly_id == null ? "" : goods_yieldly_id;
        }

        public void setGoods_yieldly_id(String goods_yieldly_id) {
            this.goods_yieldly_id = goods_yieldly_id;
        }

        public double getGoods_num() {
            return goods_num;
        }

        public void setGoods_num(double goods_num) {
            this.goods_num = goods_num;
        }

        public String getSku_num() {
            return sku_num == null ? "" : sku_num;
        }

        public void setSku_num(String sku_num) {
            this.sku_num = sku_num;
        }

        public String getMore_num() {
            return more_num == null ? "" : more_num;
        }

        public void setMore_num(String more_num) {
            this.more_num = more_num;
        }

        public String getLess_num() {
            return less_num == null ? "" : less_num;
        }

        public void setLess_num(String less_num) {
            this.less_num = less_num;
        }

        public String getStatus() {
            return status == null ? "" : status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public double getCost_price() {
            return cost_price;
        }

        public void setCost_price(double cost_price) {
            this.cost_price = cost_price;
        }

        public String getAdd_time() {
            return add_time == null ? "" : add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public int getLoss_num() {
            return loss_num;
        }

        public void setLoss_num(int loss_num) {
            this.loss_num = loss_num;
        }

        public int getInventory_num() {
            return inventory_num;
        }

        public void setInventory_num(int inventory_num) {
            this.inventory_num = inventory_num;
        }
    }
}
